package com.chrray.position.domain.dto.search;

import com.chrray.position.enums.app.FdJobType;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author liujianxin
 * @date 2024/08/29 22:55
 */
@Data
public class GrabJobSearch extends BaseParam{
    @ApiModelProperty(value = "经度")
    @NotNull(message = "经度不能为空")
    private double lon;
    @ApiModelProperty(value = "纬度")
    @NotNull(message = "纬度不能为空")
    private double lat;

    @ApiModelProperty(value = "职位类型")
    private Integer jobType;

    @ApiModelProperty(value = "范围,单位km")
    private Integer distance = 100;
}
